package com.qiyu.common.constants;

/**
 * 小程序常量配置类
 *
 * @author linhao
 * @date 2019/7/18
 * @Version V1.0
 */
public class MiniProgramConstants {

    public final static String APPID = "wx3fa0059fd65bb74c";

    //小程序登录获取openid的秘钥
    public final static String APP_SECRET = "1a746fba978f7de7ccbfa6c5009dd4c4";

    public final static String MCH_ID = "1579446481";

    public final static String DEFAULT_PAY_BODY = "嗨达速购线上消费";

    //支付使用用到的微信秘钥
    public final static String APP_PAY_KEY = "qy888jknaszxco1223as8dasc12saas2";

    public final static String TOKEN_PREFIX = "qiyu:mall:%s";

    public final static String TEST_OPENID = "test-939463643300";

    public final static Integer TEST_MEMBERID = 9725876;

    public final static String TEST_SESSION_KEY = "TEST-SESSION-KEY";

    public final static String TEST_OPENID2 = "test-9394636433002";

    public final static String TEST_TOKEN = "GuRYJ0bt17935sdf123";

    public final static String GET_OPENID_URL = "https://api.weixin.qq.com/sns/jscode2session";

    public final static String ENV = "test";

    public final static String TEST_CODE = "testCode";

    public final static String DATE_FORMAT_STR = "yyyy-MM-dd HH:mm:ss";

    public final static String CONTENT_TYPE_JSON = "application/json;charset=UTF-8";

    public final static String REDIS_VERIFY_CODE_KEY = "qiyu:mall:verifycode:%s";

    public final static String REDIS_KEY_BIT_MAP = "qiyu:mall:bitmap";

    public final static String REDIS_ORDER_KEY_BIT_MAP = "qiyu:mall:orderNo:";

    public final static Integer BIT_MAP_INIT_SIZE = 100 * 100 * 1000;

    //运费记录
    public final static String HAS_ADD_CARRIAGE = "qiyu:mall:carriage-price:";


}
